<?php
/**
 * User: lukas
 * Date: 12/5/12
 * Time: 10:18 AM
 */
class Project
{
    /**
     * id für den Datenbank eintrag
     * @var
     */
    private $id;
    /**
     * name des Projects
     * @var
     */
    private $name;
    /**
     * array welches die User darstellt
     * @var array
     */
    private $users;
    /**
     * array welches
     * @var array
     */
    private $tasks;


    /**
     * @param $id
     * @param $name
     */
    function __construct($id, $name)
    {
        $this->id = $id;
        $this->name = $name;
        $this->tasks = array();
        $this->users = array();

    }

    /**
     * @param $id
     */
    public function setId($id)
    {
        $this->id = $id;
    }

    /**
     * @return mixed
     */
    public function getId()
    {
        return $this->id;
    }

    /**
     * @param $name
     */
    public function setName($name)
    {
        $this->name = $name;
    }

    /**
     * @return mixed
     */
    public function getName()
    {
        return $this->name;
    }

    /**
     * @param $tasks
     */
    public function setTasks($tasks)
    {
        $this->tasks = $tasks;
    }

    /**
     * @return array
     */
    public function getTasks()
    {
        return $this->tasks;
    }

    /**
     * @param $users
     */
    public function setUsers($users)
    {
        $this->users = $users;
    }

    /**
     * @return array
     */
    public function getUsers()
    {
        return $this->users;
    }







}
